<?php $form = $this->beginWidget('CActiveForm')?>
<div id="yw0" class="block">
	<div class="block_head">
		<div class="bheadl"></div>
		<div class="bheadr"></div>
		<h2>
			<div>
				<ul id="yw0-nav" class="tabs">
					<a class="active" href="#baseInfo">
						<label>基本资料</label>
					</a>
				</ul>
			</div>
		</h2>
		<ul class="ops"></ul>
	</div>
	<div class="block_content">
		<div id="baseInfo" class="tab" style="display: block;">
			<table class="detail mgb10">
				<tbody>
					<?php if (Yii::app()->adminUser->role != AdminUser::ROLE_OPERATOR):?>
					<tr>
						<th class="vtop" width="63px"><?php echo $form->labelEx($model,'oldPassword')?></th>
						<td>
							<?php echo $form->passwordField($model,'oldPassword');?>
							<?php echo $form->error($model,'oldPassword');?>
						</td>
					</tr>
					<?php endif;?>
					<tr>
						<th class="vtop" width="63px"><?php echo $form->labelEx($model,'newPassword')?></th>
						<td>
							<?php echo $form->passwordField($model,'newPassword');?>
							<?php echo $form->error($model,'newPassword');?>
						</td>
					</tr>
					<tr>
						<th class="vtop" width="63px"><?php echo $form->labelEx($model,'rePassword')?></th>
						<td>
							<?php echo $form->passwordField($model,'rePassword');?>
							<?php echo $form->error($model,'rePassword');?>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
<div align=right>
	<?php echo CHtml::resetButton(CONSTANT::OP_RESET, array(
		'class' => 'pn',
		'style' => 'width:80px',
	))?>
	<?php echo CHtml::submitButton(CONSTANT::OP_SUBMIT, array(
		'class' => 'pn pnc',
		'style' => 'width:100px',
	))?>
</div>
<?php $this->endWidget()?>
